<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>注册成功</title>
</head>
<body>
	<h3>注册成功</h3>
	<div class="col-sm-6 text-right">
		<p>
			将在 <span id="mes">3</span> 秒钟后返回登录界面
		</p>
	</div>
	
<script language="javascript" type="text/javascript">
	var i = 3;
	var intervalid;
	intervalid = setInterval("fun()", 1000);
	function fun() {
		if (i == 0) {
			window.location.href = "../home/login";
			clearInterval(intervalid);
		}
		document.getElementById("mes").innerHTML = i;
		i--;
	}
</script>
</body>
</html>
